xquery version "0.9-ml"

declare namespace id="xdmp:http"

let $url := xdmp:get-request-field("url")

let $url2 := "http://www.winehub.com/favicon.ico"


for $result in xdmp:http-head($url)

return $result

(:
return fn:concat("code: ", $resp, "BLANK", fn:string($result) )


return xdmp:get-request-field-names()
:)